.class Les/bw$d;
.super Ljava/lang/Object;
.source "DbHelper.java"

# interfaces
.implements Les/bw$j;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/bw;->c(Ljava/lang/String;Ljava/util/List;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Ljava/util/List;

.field final synthetic c:Les/bw;


# direct methods
.method constructor <init>(Les/bw;Ljava/lang/String;Ljava/util/List;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/bw$d;->c:Les/bw;

    iput-object p2, p0, Les/bw$d;->a:Ljava/lang/String;

    iput-object p3, p0, Les/bw$d;->b:Ljava/util/List;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()Z
    .locals 3

    .line 1
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    .line 2
    iget-object v0, p0, Les/bw$d;->c:Les/bw;

    invoke-static {v0}, Les/bw;->b(Les/bw;)Ljava/util/Map;

    move-result-object v0

    iget-object v1, p0, Les/bw$d;->a:Ljava/lang/String;

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 3
    iget-object v1, p0, Les/bw$d;->c:Les/bw;

    invoke-static {v1}, Les/bw;->a(Les/bw;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/database/sqlite/SQLiteDatabase;->compileStatement(Ljava/lang/String;)Landroid/database/sqlite/SQLiteStatement;

    move-result-object v0

    .line 4
    iget-object v1, p0, Les/bw$d;->b:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/dv;

    .line 5
    invoke-virtual {v0}, Landroid/database/sqlite/SQLiteStatement;->clearBindings()V

    .line 6
    invoke-virtual {v2, v0}, Les/dv;->a(Landroid/database/sqlite/SQLiteStatement;)V

    .line 7
    invoke-virtual {v0}, Landroid/database/sqlite/SQLiteStatement;->executeInsert()J

    goto :goto_0

    .line 8
    :cond_0
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    const/4 v0, 0x1

    return v0
.end method
